import pandas as pd
from pitchSrc.tools.surfaceDecorator import SurfaceDecorator
from common.config import pitchConfig as Config

from pitchSrc.tools.getPlotly import show3dFig
from pitchSrc.tools.loadFile import toCsv,toAttrCsv


@SurfaceDecorator.fit
def hisSurfaceProcess(points):
    print("surfaceProcess 进行中................")
    return points

def surfaceProcess():
    toCsv(Config.hisSmoothProcess,  Config.hisSurfaceProcess, hisSurfaceProcess)
    toAttrCsv(Config.hisSurfaceProcess,Config.hisSurfaceAttr)

    print('surfaceProcess 完毕................')
    # show3dFig(Config.hisSurfaceProcess)
if __name__ == '__main__':
    surfaceProcess()



